package d2_polymorphism;

public class Student extends People {
    //对父类方法重写·
    @Override
    public void run() {
        System.out.println("学生跑的贼快");
    }
    public void test(){
        System.out.println("学生需要考试");
    }
}
